package ModelLayer;



import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * The test class Initialise.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class Initialise
{
    private ModelLayer.LoanRegister loanRegi1;
    private ModelLayer.DVDRegister dVDRegis1;
    private ModelLayer.AddressBook addressB1;

    /**
     * Default constructor for test class Initialise
     */
    public Initialise()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    @Before
    public void setUp()
    {
        loanRegi1 = ModelLayer.LoanRegister.getInstance();
        dVDRegis1 = ModelLayer.DVDRegister.getInstance();
        addressB1 = ModelLayer.AddressBook.getInstance();
        addressB1.createNewPerson(10, "Name", "Adress", 9000, "City", 123);
        dVDRegis1.createDVD(10, "Title", "Artist", "pubdate");
        dVDRegis1.createCopy(10, "Serial", "PurDate", 10);
        dVDRegis1.createCopy(10, "Serial", "PurDate", 10);
        
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    @After
    public void tearDown()
    {
    }
}
